<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <!-- //npm install art-template -->
    

    <script src="node_modules/art-template/lib/template-web.js">
    </script>
    <script type="text/template" id="tp1">

    </script>
    <script>
        var ret = template('tp1',{
            name: 'acer',
            hobbies:[
                '打游戏',
                '透JK'
            ]
        })

        console.log(ret)
    </script>
</body>
</html>